﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decoration.Models.Dto
{
    public class OrderProjectPostDto
    {
        /// <summary>
        /// 业务类型
        /// </summary>
        public int BusinessId { get; set; }

        /// <summary>
        /// 订单类型
        /// </summary>
        public int OrderType { get; set; }


        /// <summary>
        /// 所属客户
        /// </summary>
        public int Customer { get; set; }

        public string? OrderPict { get; set; }

        /// <summary>
        /// 总金额
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal OrderTotal { get; set; }

        public IEnumerable<OrderDetailPostDto> OrderDetails { get; set; } = null!;
    }
}
